/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.gov.cemaden.library.interfaces.smp;

import br.gov.cemaden.library.model.smp.ExecAplic;
import br.gov.cemaden.library.model.smp.ThreadAplic;
import java.util.List;

/**
 *
 * @author paulo.dias
 */
public interface ThreadAplicInterface {
    List<ThreadAplic>findAll();
    ThreadAplic findById(Long id);
    List<ThreadAplic> findByLive(Integer live);
    List<ThreadAplic> findByPeak(Integer peak);
    List<ThreadAplic> findByTotal(Long total);
    List<ThreadAplic> findByExecAplic(ExecAplic execAplic);
    ThreadAplic insert(ThreadAplic threadAplic);
    ThreadAplic update(ThreadAplic threadAplic);
    void delete(ThreadAplic threadAplic);   
}
